//用于测试提交的代码

#include<iostream>
#include<algorithm>
#include<string>
#include<vector>
#include<map>

using namespace std;

#ifndef Compiler_run
#include "header.cpp"
#endif

bool Test1()
{
    int x = 1234321;
    Solution s;
    return s.isPalindrome(x);
}

bool Test2()
{
    int x = -121;
    Solution s;
    return s.isPalindrome(x);
}


int main()
{
    if(!Test1())
        cout << "结果错误， 失败用例1234321" << endl;

    if(Test2())
        cout << "结果错误， 失败用例-121" << endl;

    cout << "测试通过" << endl;
    return 0;
}